local unitName = "Aeveria_builder"

local unitDef = 
{
-- Internal settings
	BuildPic = "Aeveria_builder.png",
	Category = "MOBILE LAND SCOUT NOTHEAVY NOTAIR NOTSHIP NOTEPIC NOTSTEALTHY ALL",
	ObjectName = "PK_Aeveria_builder.s3o",
	Side = "TANKS",
	TEDClass = "TANK",
	script = "PK_Aeveria_Builder_script.lua",
	
-- Unit limitations and properties
	ActivateWhenBuilt = 1,
	BuildTime = 1300,
	Description = "The aeveria builder, heavily armored, but slow.",
	MaxDamage = 350,
	Name = "Aeveria MA3 Constructor",
	RadarDistance = 0,
	SightDistance = 200,
	SoundCategory = "TANK",
	Upright = 0,
	
-- Energy and metal related
	BuildCostEnergy = 260,
buildCostMetal      = 52,
	
-- Pathfinding and related
	Acceleration = 0.15,
	BrakeRate = 0.1,
	FootprintX = 2,
	FootprintZ = 2,
	MaxSlope = 20,
	MaxVelocity = 1.7,
	MaxWaterDepth = 12,
	TurnRate = 900,
	movementclass = "default2x2",
	
-- Abilities
	Builder = 1,
	BuildDistance = 100,
canReclaim=true,
	WorkerTime = 75,
     reclaimSpeed = 70,
     repairSpeed = 80,
	Reclaimable = 0,
	CanAttack = 0,
	CanGuard = 1,
	CanMove = 1,
	CanPatrol = 1,
	LeaveTracks = 0,
ShowNanoSpray = true,
     CanBeAssisted = true,	
	buildoptions = {
		"aeveria_factory",
           "aeveria_mex",
		"aeveria_metalmaker",
		"aeveria_metalstorage",
		"aeveria_pgen",
		"aeveria_t3pgen",
		"aeveria_geothermal",
		"aeveria_energystorage",
           "aeveria_radar",
           "aeveria_t1pd",
           "aeveria_t2pd",
           "aeveria_t1aa",
           "aeveria_t2aa",
           "aeveria_tacmissile",
           "aeveria_shieldgenerator",


	},
	
-- Weapons and related
    ExplodeAs = "SMALL_UNIT_EXPLOSION",
	NoChaseCategory = "ALL",
}

return lowerkeys({ [unitName] = unitDef })

